package com.dalin.demo.service;

import com.dalin.demo.pojo.entity.OaMessage;

import java.util.List;
import java.util.Map;

public interface OaMessageService {
    List<OaMessage> getAllOaMessages();
    List<OaMessage> listOaMessagesByParams(Map<String, Object> params);
    OaMessage getOaMessageById(int id);
    Integer addOaMessage(OaMessage oaMessage);
    Integer updateOaMessage(OaMessage oaMessage);
    Integer deleteOaMessage(int id);
    void deleteOaMessages(List<String> ids);
}